<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Models\Config;
use Carbon\Carbon;
use \Cache;

class ConfigController extends Controller
{
    /**
     * @param Request $request
     * @return \Illuminate\Http\JsonResponse
     * @throws \Illuminate\Validation\ValidationException
     */
    public function list(Request $request)
    {


        $banner = Config::where('id', 1)
            ->first();

        return $this->successReturn($banner);
    }


}
